<div class="container">
    <div class="inner" data-find="content" style="width:{{ data.tabs.length*100 }}%">
        {{list data.tabs as tab}}
        <div class="item" onclick="{{ openNews(tab) }}" style="background-image:url({{ tab.image }});width:{{ 100/data.tabs.length }}%">
            <div class="title">{{ tab.title }}</div>
        </div>
        {{/list}}
    </div>
</div>
<div class="dots" data-find="dots">
    {{list data.tabs as tab index}}
    <div class="{{ index===0?'dot active':'dot' }}"></div>
    {{/list}}
</div>
{{if !data.isLoad}}
<div class="loading">
    <div class="con"><i class=":fa-spin :for-refresh"></i> Loading...</div>
</div>
{{/if}}